<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"
          charset="UTF-8"/>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <title>用户信息查看</title>
</head>
<body>
<input type="text" name="username" value="${user.username}" style="display: none">
<table class="table table-bordered table-hover table-responsive table-striped text-center">
    <caption class="h4 text-center">个人信息表</caption>
    <thead class="text-center">
    <tr>
        <th>用户ID</th>
        <th>用户名</th>
        <th>联系方式</th>
        <th>性别</th>
        <th>年龄</th>
        <th>用户类型</th>
        <th></th>
    </tr>
    <tbody>
    <c:forEach var="ss" items="${users}">
        <tr>
            <th>${ss.userid}</th>
            <th>${ss.username}</th>
            <th>${ss.sex}</th>
            <th>${ss.age}</th>
            <th>${ss.tel}</th>
            <th>${ss.usertype}</th>
            <th><a href="jsp/fpga_updateUser">修改个人信息</a></th>
        </tr>
    </c:forEach>
    </tbody>
    </table>
</body>
</html>